Skip to content

Bump AspNet.Security.OAuth.Spotify from 3.1.6 to 6.0.0#45

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/AspNet.Security.OAuth.Spotify-6.0.0
Closed

Bump AspNet.Security.OAuth.Spotify from 3.1.6 to 6.0.0#45
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/AspNet.Security.OAuth.Spotify-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 15, 2021

Copy link
Copy Markdown

Bumps AspNet.Security.OAuth.Spotify from 3.1.6 to 6.0.0.

Release notes

Sourced from AspNet.Security.OAuth.Spotify's releases.

6.0.0

Added

Changes

Breaking Changes

Version 6.0.0 includes breaking changes from version 5.0.x for some of the providers. See below for the specific changes and how to migrate.

Apple

The PrivateKeyBytes property was updated to accept a CancellationToken and return a ReadOnlyMemory<char>.

- public Func<string, Task<byte[]>>? PrivateKeyBytes { get; set; }
+ public Func<string, CancellationToken, Task<ReadOnlyMemory<char>>>? PrivateKey { get; set; }

Use the AsMemory() extension method to change a string to a ReadOnlyMemory<char>.

Discord

Versions of the Discord provider before version 6.0.0 would automatically map the user's avatar URL as the urn:discord:avatar:url claim.

This functionality is no longer built-in (see #584 and #585), but can be added to your application with some extra code similar to that shown in the sample below.

services.AddAuthentication(options => /* Auth configuration */)
        .AddDiscord(options =>
        {
            options.ClientId = "my-client-id";
            options.ClientSecret = "my-client-secret";
        options.ClaimActions.MapCustomJson(&quot;urn:discord:avatar:url&quot;, user =&gt;
            string.Format(
                CultureInfo.InvariantCulture,
                &quot;https://cdn.discordapp.com/avatars/{0}/{1}.{2}&quot;,
                user.GetString(&quot;id&quot;),
                user.GetString(&quot;avatar&quot;),
                user.GetString(&quot;avatar&quot;).StartsWith(&quot;a_&quot;) ? &quot;gif&quot; : &quot;png&quot;));
    });

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [AspNet.Security.OAuth.Spotify](https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers) from 3.1.6 to 6.0.0.
- [Release notes](https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/releases)
- [Commits](aspnet-contrib/AspNet.Security.OAuth.Providers@3.1.6...6.0.0)

---
updated-dependencies:
- dependency-name: AspNet.Security.OAuth.Spotify
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 15, 2021
@dependabot @github

dependabot Bot commented on behalf of github Dec 13, 2021

Copy link
Copy Markdown
Author

Superseded by #47.

@dependabot dependabot Bot closed this Dec 13, 2021
@dependabot dependabot Bot deleted the dependabot/nuget/AspNet.Security.OAuth.Spotify-6.0.0 branch December 13, 2021 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants